package com.ruoyi.common.core.domain.zzw;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 t_event_track
 *
 * @author xbx
 * @date 2023-10-20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TEventTrack/* extends BaseEntity*/ {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long cId;

    /**
     * 事件id
     */
    @Excel(name = "事件id")
    private Long cEventId;

    /**
     * 单位
     */
    @Excel(name = "单位")
    private String cUnit;

    /**
     * 内容
     */
    @Excel(name = "内容")
    private String cContent;

    /**
     * 事件
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "事件", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cTime;

    public void setcId(Long cId) {
        this.cId = cId;
    }

    public Long getcId() {
        return cId;
    }

    public void setcEventId(Long cEventId) {
        this.cEventId = cEventId;
    }

    public Long getcEventId() {
        return cEventId;
    }

    public void setcUnit(String cUnit) {
        this.cUnit = cUnit;
    }

    public String getcUnit() {
        return cUnit;
    }

    public void setcContent(String cContent) {
        this.cContent = cContent;
    }

    public String getcContent() {
        return cContent;
    }

    public void setcTime(Date cTime) {
        this.cTime = cTime;
    }

    public Date getcTime() {
        return cTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("cId", getcId())
                .append("cEventId", getcEventId())
                .append("cUnit", getcUnit())
                .append("cContent", getcContent())
                .append("cTime", getcTime())
                .toString();
    }
}
